import { http } from '@/utils'

export const loginApi = (query?: any) =>
  http.get({
    url: '/internal_affairs_manage/login',
    method: 'GET',
    query
  })

export const registerApi = (data: any) => {
  return http.post({
    url: '/internal_affairs_manage/register',
    method: 'POST',
    data
  })
}
